const TextUtil = {}

TextUtil.getTimeLabel = (type, item) => {
    switch (type) {
        case 'year': return item.year + '年';
        case 'quarter': return item.quarter + '季';
        case 'month': return item.month + '月';
    }
}

export default TextUtil